<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="perm" uri="/WEB-INF/tld/perm.tld"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<c:set var="imagePath" value="/b2b4shoumei_resources" />
<html>
	<script>
	var ctx = "${ctx}";
	var imagePath = "${imagePath}";
</script>
	<head>
	    <meta charset="utf-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	    <title>订单详情</title>
	    <meta name="keywords" content="体验,友好,高级管理台,易用,高性能,高扩展性,bootstrap框架,响应式后台">
	    <meta name="description" content="这是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
	    <meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
		<meta http-equiv="expires" content="Wed, 26 Feb 189908:21:57 GMT"> 
	    
		<link rel="shortcut icon" href="favicon.ico" />
	<link href="${ctx}/static/css/bootstrap.min.css?v=${static_version}"
	rel="stylesheet" />
	<link
	href="${ctx}/static/css/font-awesome.min.css?v=4.4.0?v=${static_version}"
	rel="stylesheet" />
	<link
	href="${ctx}/static/css/plugins/footable/footable.core.css?v=${static_version}"
	rel="stylesheet" />
	<link
	href="${ctx}/static/css/plugins/summernote/summernote.css?v=${static_version}"
	rel="stylesheet" />
	<link
	href="${ctx}/static/css/plugins/summernote/summernote-bs3.css?v=${static_version}/"
	rel="stylesheet" />
	<link
	href="${ctx}/static/plugins/laypage/laypage.css?v=${static_version}"
	rel="stylesheet" />
	<link
	href="${ctx}/static/css/plugins/iCheck/custom.css?v=${static_version}"
	rel="stylesheet" />
	<link
	href="${ctx}/static/css/plugins/chosen/chosen.css?v=${static_version}"
	rel="stylesheet" />
	<link href="${ctx}/static/css/animate.min.css?v=${static_version}"
	rel="stylesheet" />
	<link
	href="${ctx}/static/js/plugins/layer/laydate/laydate.css?v=${static_version}"
	rel="stylesheet" />
	<link
	href="${ctx}/static/css/plugins/webuploader/webuploader.css?v=${static_version}/"
	rel="stylesheet" />
	<link href="${ctx}/static/css/style.min.css?v=${static_version}"
	rel="stylesheet" />
	<link href="${ctx}/static/css/common.css?v=${static_version}"
	rel="stylesheet" />
	<!-- Data Tables -->
	<link
	href="${ctx}/static/css/plugins/dataTables/dataTables.bootstrap.css?v=${static_version}"
	rel="stylesheet" />
	  <style type="text/css">
		  .ibox-title h5{ float:none}
		</style> 
	</head>
<body class="gray-bg">

<div class="wrapper wrapper-content  animated fadeInRight">
			<div class="ibox float-e-margins">
								
        		<!-- 发布商品 -->
	<div class="ibox-title" style="border-top:1px solid #e7e7e7">
		<h5>订单详情<small>&nbsp;&nbsp;&nbsp;&nbsp;</small></h5>
	</div>
 		
			<div class="ibox-content">			
				
				<!--订单信息-->
				<table
			class="table table-border table-bordered table-hover table-bg table-sort">
			<thead>
				<tr class="text-c">
				    <th>订单类型</th>
					<th>特卖汇</th>
					<th>订单编号</th>
					<th>${orderInfo.ORDERNUM}</th>
					<th>订单状态</th>
					<th>${ddStatusStr}</th>
				</tr>
			</thead>
		</table>
			
			<!--订单信息end-->
				

	      </div>
	      
	      <div class="ibox-title clearfix"  style="border-top:1px solid #e7e7e7"> 
			           	<div class="col-sm-8 fl"><h5>商品列表</h5></div>
					<!-- 	<div class="col-sm-2 fr"><a class="btn btn-primary radius" onclick="addProduct();" href="javascript:;">添加</a></div>    -->
					</div>
	     
	
			<div class="ibox-content">		
				  <table
			class="table table-border table-bordered table-hover table-bg table-sort">
			<thead>				
				<tr class="text-c">
					<th class="text-center">商品编号</th>
					<th class="text-center">商品名称</th>
					<th class="text-center">购买数量</th>
					<th class="text-center">单价</th>
					<th class="text-center">是否优惠</th>
					<th class="text-center">总价</th>
				</tr>
			</thead>
			<tbody>
			<c:forEach items="${goods}" var="goodsInfo">
		
				<tr class="text-c">
					<td class="text-center">${goodsInfo.GOODS_ID}</td>
					<td class="text-center">${goodsInfo.NAME}</td>
					<td class="text-center">${goodsInfo.NUM}</td>
					<td class="text-center">${goodsInfo.PRICE}</td>
					<%-- <td class="text-center">${goodsInfo.GROUP_FLAG}</td> --%>
					<td class="text-center">${reward}</td>
					<td class="text-center">${goodsInfo.PRICE*goodsInfo.NUM}</td>
				</tr>
			</c:forEach>
			</tbody>
		</table>		
		  	</div>			
  	<div class="ibox-title" style="border-top:1px solid #e7e7e7">
		<h5>用户信息<small>&nbsp;&nbsp;&nbsp;&nbsp;</small></h5>
	</div>
			
			<div class="ibox-content">
	         <input type="hidden" id="id" name="id" value='address' />
	
		<table
			class="table table-border table-bordered table-hover table-bg table-sort">
			<thead>
				<tr class="text-c">
					<th>用户名</th>
					<th>${orderInfo.C_NICK}</th>
					<th>收货人名称</th>
					<th>${orderInfo.NAME}</th>
				</tr>	
				<tr class="text-c">
					<th>收货人电话</th>
					<th>${orderInfo.PHONE}</th>
					<th>收货人小区</th>
					<th>${orderInfo.ADDRESSSTR}</th>
				</tr>	
				<tr class="text-c">								
					<th>收货人地址</th>
					<th>${orderInfo.PROVINCE}-${orderInfo.CITY}-${orderInfo.ADDRESSSTR}</th>
					<th></th>
					<th></th>
				</tr>
			</thead>
		</table>
		   </div>
		   
		   
		   <%--<div class="ibox-title" style="border-top:1px solid #e7e7e7">
		<h5>配送信息<small>&nbsp;&nbsp;&nbsp;&nbsp;</small></h5>
	</div>
	<div class="ibox-content">	
	
			
	<c:forEach items="${newfind.distributionInfoList}" var="distributionInfo">
		<table
			class="table table-border table-bordered table-hover table-bg table-sort">
			<thead>
				<tr class="text-c">
					<th>指定配送时间</th>
					<th>${distributionInfo.ARRIVE_USER_TIME}</th>
					<th>送达时间</th>
					<th>${distributionInfo.RECEIVE_ORDER_TIME}</th>
					<th>仓库</th>
					<th>${distributionInfo.C_ADDRESS}</th>
					<th>配送员</th>
					<th>${distributionInfo.C_TNAME}</th>
					<th>配送电话</th>
					<th>${distributionInfo.C_MOB}</th>
				</tr>
			</thead>
		</table>
	</c:forEach>	
	 --%>
<div class="ibox-title" style="border-top:1px solid #e7e7e7">
		<h5>订单详情<small>&nbsp;&nbsp;&nbsp;&nbsp;</small></h5>
	</div>
			
			<div class="ibox-content">
	           <table class="table table-border table-bordered table-hover table-bg table-sort">
				<thead>				
				<tr class="text-c">
					<th class="text-center">订单总额</th>
					<th class="text-center">商品总额</th>
					<th class="text-center">运费</th>
					<th class="text-center">优惠券金额</th>
					<th class="text-center">支付方式</th>
					<th class="text-center">支付渠道</th>
					<th class="text-center">现金金额</th>
					<th class="text-center">pos机金额</th>
					<th class="text-center">在线支付金额</th>
					<th class="text-center">发票</th>
				</tr>
			</thead>
			<tbody>
		
				<tr class="text-c">
					<td class="text-center">${orderInfo.MONEY}</td>
					<td class="text-center">${orderInfo.SUMGOODSPRICE}</td>
					<td class="text-center">${orderInfo.SENDFEE}</td>
					<td class="text-center"></td>
					<td class="text-center">${ziTypeStr}</td>
					<td class="text-center">${ziTypeStr}</td>
					<td class="text-center"></td>
					<td class="text-center"></td>
					<td class="text-center"></td>
					<td class="text-center">${fp}</td>
				</tr>
			</tbody>
		</table>
		   </div>
<div class="ibox-title" style="border-top:1px solid #e7e7e7">
		<h5>发票详情<small>&nbsp;&nbsp;&nbsp;&nbsp;</small></h5>
	</div>
			
			<div class="ibox-content">
	           <table class="table table-border table-bordered table-hover table-bg table-sort">
				<thead>				
				<tr class="text-c">
					<th class="text-center">发票台头</th>
					<th class="text-center">发票内容</th>
					<th class="text-center">发票备注</th>
				</tr>
			</thead>
			<tbody>
		
				<tr class="text-c">
					<td class="text-center">${orderInfo.RECEIPT_TITLE}</td>
					<td class="text-center">${orderInfo.RECEIPT_DESC}</td>
					<td class="text-center">${orderInfo.RECEIPT_REMARK}</td>
				</tr>
			</tbody>
		</table>
		   </div>

	
	</div>
	<!-- /ibox -->
</div>




</body>
</html>

